var React = require('react');
import {Link}  from 'react-router';
var BookNav=require('./bookNavReadHistory.jsx');

var page = React.createClass({
  	render: function () {
	    return (	
			<div className="nav">
            <div className="nav-menu">
                <Link className="home" to="/" >
                    <span className="am-icon-home icon"></span> 首页
                </Link>
                <Link to="/" >
                    <span className="am-icon-list icon"></span>我的书架
                </Link>  
            </div>
            <BookNav />
            <div className="nav-user">
                <a onClick={this.props.changeTheme}>
                    <span className="am-icon-moon-o icon"></span>
                    显示模式
                </a>
                <a>
                    <span className="am-icon-sign-in icon"></span>
                    登录
                </a>
            </div>

        </div>
	    );
	  }
});

module.exports = page;


